Make agent name link to show

Glenn 'devalias' Grant 10 years ago
parent
commit
26efcab289
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/views/agents/index.html.erb

+ 1 - 1
app/views/agents/index.html.erb

@@ -21,7 +21,7 @@
21 21
           <% @agents.each do |agent| %>
22 22
             <tr class='<%= "agent-disabled" if agent.disabled? %>'>
23 23
               <td>
24
-                <%= agent.name %>
24
+                <%= link_to agent.name, agent_path(agent) %>
25 25
                 <br/>
26 26
                 <span class='text-muted'><%= agent.short_type.titleize %></span>
27 27
               </td>